home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 25 / AMIGAplus Sonderheft 25 (2000)(Falke)(DE)(Track 1 of 4)[!].iso / Updates / Hardware / DCF77 / InstallDCF77update < prev    next >
AmigaDOS Script File  |  2000-05-16  |  969b  |  51 lines

  1. .key ""
  2. .bra {
  3. .ket }
  4.  
  5. echo "*N Please wait...*N"
  6. assign DCF77: remove
  7. failat 9
  8. cd >ENV:dcfpatchcd
  9.  
  10. if exists "DCF77:DCF77/DCF77 (Kickstart 2.04)"
  11.   cd "DCF77:DCF77/DCF77 (Kickstart 2.04)"
  12. endif
  13. if exists "DCF77:DCF77/Program"
  14.   cd "DCF77:DCF77/Program"
  15. endif
  16.  
  17. if not exists DCF77
  18.   echo " Missing the DCF77 program. Please use a copy of your original disk."
  19.   endcli
  20. endif
  21.  
  22. echo " Your disk contains " noline
  23. version DCF77
  24. echo ""
  25.  
  26. copy  DCF77            T:dcf77old
  27. copy "DCF77 Diagnosis" T:dcf77diagold
  28.  
  29. cd DCF77:
  30. delete >NIL: DCF77 all
  31.  
  32. cd "$dcfpatchcd"
  33.  
  34. lhex -qw=DCF77: x diskarchiv.lha
  35.  
  36. gpatch T:dcf77old DCF77Patches T:newfile recursive
  37. copy T:newfile "DCF77:DCF77/Program/DCF77"
  38.  
  39. gpatch T:dcf77diagold DCF77Patches T:newfile recursive
  40. copy T:newfile "DCF77:DCF77/Program/DCF77 Diagnosis"
  41.  
  42. delete >nil: T:dcf77old
  43. delete >nil: T:dcf77diagold
  44. delete >nil: T:newfile
  45.  
  46. echo "*N Patch successful."
  47. echo "*N You have now " noline
  48. version "DCF77:DCF77/Program/DCF77"
  49.  
  50.  
  51.